SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO

CREATE PROCEDURE dbo.[DnnProduct_CDS_PrintPermissionsUpdate]
	@ID int,
	@PermissionID int,
	@SingleDevice bit,
	@ExpirationDate datetime,
	@Duration bigint,
	@IncInterval bigint,
	@InitialCount int,
	@MaxCount int,
	@MaxResolution int
AS
BEGIN
	UPDATE [DnnProduct_CDS_PrintPermissions]
	SET
		PermissionID = @PermissionID,
		SingleDevice = @SingleDevice,
		ExpirationDate = @ExpirationDate,
		Duration = @Duration,
		IncInterval = @IncInterval,
		InitialCount = @InitialCount,
		MaxCount = @MaxCount,
		MaxResolution = @MaxResolution
	WHERE [ID] = @ID
END
GO
